\hypertarget{classduye_1_1_xml_comment}{\section{duye\-:\-:Xml\-Comment Class Reference}
\label{classduye_1_1_xml_comment}\index{duye\-::\-Xml\-Comment@{duye\-::\-Xml\-Comment}}
}


An X\-M\-L comment.  




{\ttfamily \#include $<$duye\-\_\-xml.\-h$>$}

Inheritance diagram for duye\-:\-:Xml\-Comment\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classduye_1_1_xml_comment}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_xml_comment_aa9c8848527d156b1d353dd98a6c92380}{\hyperlink{classduye_1_1_xml_comment_aa9c8848527d156b1d353dd98a6c92380}{Xml\-Comment} ()}\label{classduye_1_1_xml_comment_aa9c8848527d156b1d353dd98a6c92380}

\begin{DoxyCompactList}\small\item\em Constructs an empty comment. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_a11e49b4979ec68dc276aff626cc3995d}{\hyperlink{classduye_1_1_xml_comment_a11e49b4979ec68dc276aff626cc3995d}{Xml\-Comment} (const char $\ast$\hyperlink{classduye_1_1_xml_node_a6382aca61aaacf168916b9a8d917dc47}{value})}\label{classduye_1_1_xml_comment_a11e49b4979ec68dc276aff626cc3995d}

\begin{DoxyCompactList}\small\item\em Construct a comment from text. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_adf7e1783c6ad33ddf6ee7fb416b260de}{{\bfseries Xml\-Comment} (const \hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} \&)}\label{classduye_1_1_xml_comment_adf7e1783c6ad33ddf6ee7fb416b260de}

\item 
\hypertarget{classduye_1_1_xml_comment_a6ea28f3b106dac404682eb0373884131}{\hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} \& {\bfseries operator=} (const \hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} \&base)}\label{classduye_1_1_xml_comment_a6ea28f3b106dac404682eb0373884131}

\item 
\hypertarget{classduye_1_1_xml_comment_ae522e9a842ed282cf482c20f915e1397}{virtual \hyperlink{classduye_1_1_xml_node}{Xml\-Node} $\ast$ \hyperlink{classduye_1_1_xml_comment_ae522e9a842ed282cf482c20f915e1397}{clone} () const }\label{classduye_1_1_xml_comment_ae522e9a842ed282cf482c20f915e1397}

\begin{DoxyCompactList}\small\item\em Returns a copy of this Comment. \end{DoxyCompactList}\item 
virtual void \hyperlink{classduye_1_1_xml_comment_ab761b076aa5e712eb2e22dd3f79ab8c9}{print} (F\-I\-L\-E $\ast$cfile, int depth) const 
\begin{DoxyCompactList}\small\item\em All Gny\-Xml classes can print themselves to a filestream or the string class (G\-Xml\-String in non-\/\-S\-T\-L mode, std\-::string in S\-T\-L mode.) Either or both cfile and str can be null. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_af517306b24e2e86e389afcaf7975bf9c}{void {\bfseries xml\-To\-Str} (std\-::string \&out\-Xml, int depth) const }\label{classduye_1_1_xml_comment_af517306b24e2e86e389afcaf7975bf9c}

\item 
virtual const char $\ast$ \hyperlink{classduye_1_1_xml_comment_aa72872c798ebf0469346c44678e7e544}{parse} (const char $\ast$p, Xml\-Parsing\-Data $\ast$data, Xml\-Encoding encoding)
\begin{DoxyCompactList}\small\item\em Attribtue parsing starts\-: at the ! of the !-- returns\-: next char past '$>$'. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_a910dfdace515ad2f30870fd50151d590}{virtual const \hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} $\ast$ \hyperlink{classduye_1_1_xml_comment_a910dfdace515ad2f30870fd50151d590}{to\-Comment} () const }\label{classduye_1_1_xml_comment_a910dfdace515ad2f30870fd50151d590}

\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null not of the requested type. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_a9cd5bb135150f31dc0a32805fcbbae9c}{virtual \hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} $\ast$ \hyperlink{classduye_1_1_xml_comment_a9cd5bb135150f31dc0a32805fcbbae9c}{to\-Comment} ()}\label{classduye_1_1_xml_comment_a9cd5bb135150f31dc0a32805fcbbae9c}

\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_xml_comment_a04170aa1a4f2467b8038f7d58acccfe8}{virtual bool \hyperlink{classduye_1_1_xml_comment_a04170aa1a4f2467b8038f7d58acccfe8}{accept} (\hyperlink{classduye_1_1_xml_visitor}{Xml\-Visitor} $\ast$visitor) const }\label{classduye_1_1_xml_comment_a04170aa1a4f2467b8038f7d58acccfe8}

\begin{DoxyCompactList}\small\item\em Walk the X\-M\-L tree visiting this node and all of its children. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_xml_comment_a4ab3cb9028b51bfd9785d3c1109702ae}{void {\bfseries copy\-To} (\hyperlink{classduye_1_1_xml_comment}{Xml\-Comment} $\ast$target) const }\label{classduye_1_1_xml_comment_a4ab3cb9028b51bfd9785d3c1109702ae}

\item 
\hypertarget{classduye_1_1_xml_comment_a2418474b328c6c3199f1f09b7024abe0}{virtual void {\bfseries stream\-In} (std\-::istream $\ast$in, std\-::string $\ast$tag)}\label{classduye_1_1_xml_comment_a2418474b328c6c3199f1f09b7024abe0}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
An X\-M\-L comment. 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_xml_comment_aa72872c798ebf0469346c44678e7e544}{\index{duye\-::\-Xml\-Comment@{duye\-::\-Xml\-Comment}!parse@{parse}}
\index{parse@{parse}!duye::XmlComment@{duye\-::\-Xml\-Comment}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}virtual const char$\ast$ duye\-::\-Xml\-Comment\-::parse (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{p, }
\item[{Xml\-Parsing\-Data $\ast$}]{data, }
\item[{Xml\-Encoding}]{encoding}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classduye_1_1_xml_comment_aa72872c798ebf0469346c44678e7e544}


Attribtue parsing starts\-: at the ! of the !-- returns\-: next char past '$>$'. 

Cast to a more defined type. Will return null not of the requested type. 

Implements \hyperlink{classduye_1_1_xml_base}{duye\-::\-Xml\-Base}.

\hypertarget{classduye_1_1_xml_comment_ab761b076aa5e712eb2e22dd3f79ab8c9}{\index{duye\-::\-Xml\-Comment@{duye\-::\-Xml\-Comment}!print@{print}}
\index{print@{print}!duye::XmlComment@{duye\-::\-Xml\-Comment}}
\subsubsection[{print}]{\setlength{\rightskip}{0pt plus 5cm}virtual void duye\-::\-Xml\-Comment\-::print (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{cfile, }
\item[{int}]{depth}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classduye_1_1_xml_comment_ab761b076aa5e712eb2e22dd3f79ab8c9}


All Gny\-Xml classes can print themselves to a filestream or the string class (G\-Xml\-String in non-\/\-S\-T\-L mode, std\-::string in S\-T\-L mode.) Either or both cfile and str can be null. 

This is a formatted print, and will insert tabs and newlines.

(For an unformatted stream, use the $<$$<$ operator.) 

Implements \hyperlink{classduye_1_1_xml_base_aeb28d8aeec84aad3ce290c6cc3a5ec06}{duye\-::\-Xml\-Base}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/utils/duye\-\_\-xml.\-h\end{DoxyCompactItemize}
